import axios from 'axios'

export default class  {

    //查询所有项目--,{params:projectinfoForm}
    getProject(projectinfoForm){
        return axios.get(`http://localhost/ZYprojectStatus`,{params:projectinfoForm})
    }

    //删除
    Delstatus(sid){
        return axios.delete(`http://localhost/ZYprojectStatus/${sid}`)
    }

    getByid(sid){
        return axios.get(`http://localhost/ZYprojectStatus/${sid}`)
    }

    //添加
    Addpsc(projectstatusadd){
        return axios.post(`http://localhost/ZYprojectStatus`,{params:projectstatusadd});
    }
}